(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
$(function() {
  return $(window).load(function() {
    var _currentPage, _showPage, _tempSuoZai, _totlePage, i, num, ref, results;
    _totlePage = Math.ceil($("#totle_page").val() / $("#per_page").val());
    _currentPage = $("#current_page").val();
    _showPage = 5;
    _tempSuoZai = Math.ceil(_currentPage / _showPage);
    if (_totlePage <= _showPage) {
      _tempSuoZai = 1;
    }
    results = [];
    for (num = i = 0, ref = _totlePage - 1; 0 <= ref ? i <= ref : i >= ref; num = 0 <= ref ? ++i : --i) {
      if (num <= _tempSuoZai * _showPage - 1 && num > _tempSuoZai * _showPage - _showPage - 1) {
        results.push($("#pagination").children().eq(num).show());
      } else {
        results.push(void 0);
      }
    }
    return results;
  });
});

},{}]},{},[1]);
